package com.opNaga.bpmp.connectingObject.sequenceFlow;

import com.opNaga.bpmp.BPMPElement;
import com.opNaga.bpmp.connectingObject.ConnectingObjectSource;
import com.opNaga.bpmp.swimlane.HasRoot;

import java.util.Iterator;

/**
 * User: Junyi BEI
 * Date: 19/01/2012
 * Time: 14:02
 */
public interface SequenceFlowSource extends ConnectingObjectSource, HasRoot {
  public boolean addOutwardSequenceFlow(BPMPElement be);

  public boolean removeOutwardSequenceFlow(BPMPElement be);

  public boolean isOutwardSequenceFlowEmpty();

  public int outwardSequenceFlowSize();

  public Iterator<BPMPElement> iterateOutwardSequenceFlows();
}
